🌐 HTTP Action Configuration
The HTTP action allows you to send HTTP or HTTPS requests within your Chatflow, either as a trigger or an action. This facilitates interaction with external REST APIs, web services, or other HTTP endpoints.
Features:
- Support for all standard HTTP methods: GET, POST, PUT, DELETE, PATCH, etc.
- Flexible request configuration including URL, query parameters, headers, and body.
- Built-in authentication support to secure your requests.
Authentication Support:
- Use HTTP Authentication: Enable basic HTTP authentication.
- Username / Password: Enter credentials for authentication.
- Custom HTTP Headers: Add any number of custom key-value headers for advanced use cases such as tokens, content types, or custom metadata.
Usage:
- Configure the HTTP method and URL or endpoint.
- Set query parameters and path variables as needed.
- Add headers and specify the request body format (JSON, form data, raw text, files).
- Handle response data within your Chatflow for further processing.
Use Cases:
- Call external APIs to fetch or send data.
- Integrate with third-party web services.
- Trigger Chatflow based on external HTTP requests.
- Automate communication with RESTful endpoints.
This action provides seamless connectivity to external systems and APIs, enabling Chatflow to participate in modern web ecosystems and leverage external services effectively.